#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main() {
    int arr[10] = { 0 };
    int z = 0;
    int f = 0;
    for (int i = 0; i < 10; i++)
    {
        scanf("%d", &arr[i]);
        if (arr[i] > 0)
        {
            z++;
        }
        else
        {
            f++;
        }
    }
    printf("positive:%d\nnegative:%d\n", z, f);
    return 0;
}